  MMM      MMM       KKK                          TTTTTTTTTTT      KKK
  MMMM    MMMM       KKK                          TTTTTTTTTTT      KKK
  MMM MMMM MMM  III  KKK  KKK  RRRRRR     OOOOOO      TTT     III  KKK  KKK
  MMM  MM  MMM  III  KKKKK     RRR  RRR  OOO  OOO     TTT     III  KKKKK
  MMM      MMM  III  KKK KKK   RRRRRR    OOO  OOO     TTT     III  KKK KKK
  MMM      MMM  III  KKK  KKK  RRR  RRR   OOOOOO      TTT     III  KKK  KKK

  MikroTik RouterOS 6.46.1 (c) 1999-2019       http://www.mikrotik.com/

[?]             Gives the list of available commands
command [?]     Gives help on the command and list of arguments

[Tab]           Completes the command/word. If the input is ambiguous,
                a second [Tab] gives possible options

/               Move up to base level
..              Move up one level
/command        Use command at the base level
[admin@MikroTik] > /export hide-sensitive
# feb/26/2020 10:38:28 by RouterOS 6.46.1
# software id = RCBG-X5QG
#

# model = RB951Ui-2nD
# serial number = B12C34056789
/interface bridge
add admin-mac=74:4D:28:16:12:F0 auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] name=ether1WAN
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=0 band=2ghz-b/g/n country=russia \
    disabled=no distance=indoors frequency=auto frequency-mode=manual-txpower \
    mode=ap-bridge ssid=avtobaza wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk eap-methods="" \
    mode=dynamic-keys supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.1.33-192.168.1.100
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=dhcp-pc
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1WAN list=WAN
/ip address
add address=192.168.1.1/24 comment=defconf interface=bridge network=192.168.1.0
add address=123.123.123.123/30 interface=ether1WAN network=123.123.123.123
/ip dhcp-client
add comment=defconf disabled=no interface=ether1WAN
/ip dhcp-server lease
add address=192.168.1.36 client-id=1:ec:8e:b5:24:cf:4e mac-address=\
    EC:8E:B5:24:CF:4E server=dhcp-pc
add address=192.168.1.44 client-id=1:40:8d:5c:f9:2d:b3 mac-address=\
    40:8D:5C:F9:2D:B3 server=dhcp-pc
add address=192.168.1.69 client-id=1:68:b5:99:aa:6a:48 mac-address=\
    68:B5:99:AA:6A:48 server=dhcp-pc
add address=192.168.1.53 client-id=1:88:ae:1d:ec:9f:ca mac-address=\
    88:AE:1D:EC:9F:CA server=dhcp-pc
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf gateway=192.168.1.1
/ip dns
set allow-remote-requests=yes servers=213.234.5.2,213.234.7.6
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
    ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
    ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related
add action=accept chain=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=\
    invalid
add action=drop chain=forward comment=\
    "defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
    connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=\
    out,none out-interface-list=WAN
add action=dst-nat chain=dstnat dst-port=4567 in-interface=ether1WAN protocol=\
    tcp to-addresses=192.168.1.5 to-ports=3389
add action=dst-nat chain=dstnat dst-port=1010 in-interface=ether1WAN protocol=\
    tcp to-addresses=192.168.1.5 to-ports=1010
/ip route
add distance=1 gateway=123.123.123.123
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/ip ssh
set forwarding-enabled=remote
/system clock
set time-zone-name=Europe/Moscow
/tool mac-server
[admin
@Mikro
Tik] >
[admin@MikroTik] >> 
